package com.powernode;

/**
 * @version 1.0
 * @Date 2024/8/17 12:21
 * @Author 付~~~
 */

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.FeignClient;

/**
 * 产品业务模块启动类
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableCaching      //开启注解的方式缓存，缓存进redis中
@EnableFeignClients
public class ProductServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(ProductServiceApplication.class,args);
    }
}